<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>麦咚网购</title>
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/search.css">
</head>

<body>
    <!-- 头部 -->
    <header id="header" class="mui-bar mui-bar-nav">
        <a class="fa h_left fa-arrow-left" href="./category.html"></a>
        <h1 class="mui-title">搜索中心</h1>
    </header>
    <!-- 内容 -->
    <div class="view">
        <div class="search_form">
            <input id="search_inp" placeholder="请搜索您喜欢的商品" type="text">
            <button id="search_btn">搜索</button>
        </div>
        <div class="history_list">
            <div class="history_title">
                <span>搜索历史</span>
                <a href="javascript:;" class="clear_btn">
                    <span class="fa fa-trash-o"></span> 清空记录
                </a>
            </div>
            <div class="history_content">

            </div>
        </div>
    </div>
    <!-- 底部 -->
    <div class="footer">
        <a href="./index.html">
            <div class="fa fa-home"></div>
            <p>首页</p>
        </a>
        <a href="./category.html" class="active">
            <div class="fa fa-bars"></div>
            <p>分类</p>
        </a>
        <a href="./cart.html">
            <div class="fa fa-cart-plus"></div>
            <p>购物车</p>
        </a>
        <a href="javascript:;">
            <div class="fa fa-user"></div>
            <p>会员中心</p>
        </a>
    </div>
</body>
<script src="./assets/zepto/zepto.js"></script>
<script src="./assets/mui/js/mui.js"></script>
<script src="./js/search.js"></script>
<script src="./js/common.js"></script>
<script src="./assets/arttemplate/template-web.js"></script>
<script type="text/template" id="searchList">
    <ul>
        {{each arr value index}}
        <li>
            <span class="his_name">{{value}}</span>
            <a data-index="{{index}}" class="remove_btn" href="javascript:;">
                <span class="fa fa-remove"></span>
            </a>
        </li>
        {{/each}}
    </ul>
</script>

</html>